#pragma once

#include "ugctrl.h"
// CTotalGrid
class CSymbolInfo;
class CAccountInfo;
class COrderManager;
class CTotalGrid : public CUGCtrl
{
	DECLARE_DYNAMIC(CTotalGrid)

public:
	CTotalGrid();
	virtual ~CTotalGrid();

	virtual void OnSetup();

	int m_RowHeight;
	int m_ColWidth;
	int m_CenterColWidth;
	int centerCol;

	int m_MaxRows;
	int m_MaxCol;
	void SetOrderInfo(CAccountInfo* a_Acc);
	void SetSymbolInfo(CSymbolInfo* a_SymInfo);
	void SetOrderInfo(COrderManager* a_OrderMgr);
	void SetOrderInfo(COrderManager* a_OrderMgr, CString a_AccountCode, CString a_SymbolCode);
protected:
	DECLARE_MESSAGE_MAP()
};


